<?php

namespace IDock\Printer;

class VehicleModelPrinter extends BasePrinter
{
    private $modelList = [];

    public function toArray(): array
    {
        return $this->modelList;
    }

    public function setModelListLst(array $array) {
        $this->modelList = $array;
    }

    public function setModelList(VehiclePrinter $vehiclePrinter)
    {
        $this->modelList[] = $vehiclePrinter->toArray();
    }
}